home *** CD-ROM | disk | FTP | other *** search
- Path: mudskipper.cac.psu.edu!user
- From: fcusack@tdx.org (frank.)
- Newsgroups: comp.lang.c
- Subject: Re: naked virgin basic help needed for newbie
- Date: Mon, 22 Jan 1996 06:07:11 -0400
- Organization: Penn State University, Center for Academic Computing
- Message-ID: <fcusack-2201960607110001@mudskipper.cac.psu.edu>
- References: <4dtvu4$da0@dub-news-svc-1.compuserve.com> <4du1dg$4pm@cloner3.netcom.com>
- NNTP-Posting-Host: mudskipper.cac.psu.edu
-
- In article <4du1dg$4pm@cloner3.netcom.com>, tetbrac@ix.netcom.com (Tetbrac
- ) wrote:
-
- > In <4dtvu4$da0@dub-news-svc-1.compuserve.com>
- > <102627.3053@compuserve.com> writes:
- > >
- > >
- > >Can anyone tell me why my compiler is not recognizing int main
- > (void)
- > >or produces an error message at #include <stdio> as well as printf
- > and
- > >scanf. I admit this is my initial install and I'm sure its something
- > very basic
- >
- > I think you mean: void main();
-
- I think not.
-
- int main(void) is indeed what you want.
-
- > When you #include a header file, you have to specify the entire file
- > name such as #include <stdio.h>. Hope this helps.
- > Tetbrac
- ~Frank
- -- I am Pentium of Borg. Division is futile. You will be approximated. --
- -- If you build it, they will come --> http://www.tdx.org/~fcusack/ --
- -- PGP key fingerprint: 01 C0 C0 B9 CC 78 67 0F 3F 64 80 65 8B 0F F9 EA --
-